let BASE_URL = ""
// let IMG_URL = 'http://172.16.3.216:8081/Content/uiapp_gyb_img/'
let IMG_URL = ''
// let IMG_URL_ONLY = 'http://172.16.2.89:8081'//高宇辰本地
let IMG_URL_ONLY =""///测试站

if(process.env.NODE_ENV === 'development'){
    // 开发环境
	BASE_URL = 'http://10.40.0.81:18181'
	IMG_URL = 'http://172.16.2.89:8081/Content/uiapp_gyb_img/'
	IMG_URL_ONLY ="http://172.16.2.89:8081"
}else{
    // 生产环境
    BASE_URL = 'https://api.gyb086.com'
	IMG_URL = 'https://www.gyb086.com/Content/uiapp_gyb_img/'
	IMG_URL_ONLY ="https://www.gyb086.com/"
}

export default {
  BASE_URL,IMG_URL,IMG_URL_ONLY
}

// const { http } = uni.$u
// // 获取菜单
// export const fetchMenu = (params, config = {}) => http.post('/ebapi/public_api/index', params, config)